import { useNavigate } from 'react-router-dom'

function Home1() {
  const navigate = useNavigate()
  
  return (
    <div>
      <img 
        src="/public/启动页(1).png" 
        alt=""  
        style={{width: '100%', height: '100%'}}  
        onClick={() => navigate('/home2')}
      />
    </div>
  )
}

export default Home1